package o;

import android.app.Activity;

public class cjg {
    private Class<? extends cjo> ˊ;
    private d ˏ;
    private Class<?> ॱ;

    public enum d {
        ACTIVITY,
        FRAGMENT
    }

    public cjg(Class<?> cls) {
        if (Activity.class.isAssignableFrom(cls)) {
            this.ˏ = d.ACTIVITY;
        } else {
            this.ˏ = d.FRAGMENT;
        }
        this.ॱ = cls;
    }

    public Class<?> ˏ() {
        return this.ॱ;
    }

    public Class<? extends cjo> ˋ() {
        if (this.ˊ == null) {
            this.ˊ = cjs.ˏ(this.ॱ);
        }
        return this.ˊ;
    }

    public d ˊ() {
        return this.ˏ;
    }
}
